<?
include_once("../include/function/functUrl.php");
function header_sort($kode){
		$sort=$_GET["sort"];
		$order=$_GET["order"];
		$server=$_SERVER['PHP_SELF'];
		$result="<a name=".base64_encode(session_id().$kode)."\/><a href=\"".url_parser($server.url_parser(($_SERVER['QUERY_STRING']!=""?"?".$_SERVER['QUERY_STRING']:""),"sort=$kode"),"order=desc")."#".base64_encode(session_id().$kode)."\"><img src=\"../images/up.gif\" border=\"0\"></a>";
		if($kode==$sort){
			if($order=="desc")
				$result="<a name=".base64_encode(session_id().$kode)."\/><a href=\"".url_parser($server.url_parser(($_SERVER['QUERY_STRING']!=""?"?".$_SERVER['QUERY_STRING']:""),"sort=$kode"),"order=asc")."#".base64_encode(session_id().$kode)."\"><img src=\"../images/down.gif\" border=\"0\"></a>";
		}
		return $result;
}
?>